<?php


namespace app\teacher\validate;


use think\Validate;

class CreateCourseValidate extends Validate
{
    protected $rule = [
        'language_id' => 'require',
        'language_grade_id' => 'require',
        'stage' => 'require',
        'speaking' => 'require',
        'offline' => 'require|number',
        'address' => 'require',
        'longitude' => 'require',
        'latitude' => 'require',
        'price' => 'require',
        'hour' => 'require',
        'busy_time' => 'require'
    ];
}